<?php


namespace app\game\controllers;


use app\game\services\GameService;
use app\Request;
use app\xiangji\BaseController;
use think\App;

class Game extends BaseController
{
    private $gameService;

    public function __construct(GameService $gameService)
    {
        $this->gameService = $gameService;
    }

    public function syncGameAmount(Request $request)
    {
        // 校验数据
        $result = $this->gameService->syncInsertLogData($request);
        return $this->success($result);
    }
}
